Repository navigation
ci(mcpx): restore the fix-test guard triggers lost in the Nov 4 sweep (#6929) - #8385
Conversation
The workflow kept only workflow_dispatch since 5a94833, leaving the #1969 enforcement step (gated on pull_request) unreachable and the contract tests unrun on main, while ci-policy.md still assigns the guard a PR tier and a main tier and names this restore as Phase 2 of #6929. Restore the pre-sweep push[main] + pull_request triggers verbatim, path-filtered to pkgs/mcpx/** and the guard files.
|
Warning Review limit reachedYou've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Next included review available in 15 minutes. View limit details
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. |
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 666c4d2053
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
check-ci-policy-agreement.sh fails on a stale waiver whose leg now agrees; with both tier legs restored, the two #6929 waivers and the ci-policy.md waiver-table row are deleted in this PR, per the waiver protocol. Checker now reports OK with the guard in full agreement.
|
@codex review |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 3f246a4294
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
The contract suite fixture modelled mcpx-fix-test-guard as dispatch-only and asserted its waiver warning; with the triggers restored and the waivers deleted, the fixture now declares pull_request + push + workflow_dispatch for the guard and the obsolete warning assertion is removed. Suite passes 5/5.
|
@codex review |
|
Codex Review: Didn't find any major issues. Swish! Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
Closes #6929.
Decision (recorded on #6929, triage note 6784023800): RESTORE
.github/ci-policy.mdstill assigns this guard a PR tier and a main tier (guard section line 82, tier table line 194) and its phased plan (line 259) names this exact restoration as "Phase 2 — #6929". The #1969 failing-first rule is live policy; sibling guards hit by the same 2026-11-04 sweep were re-armed rather than retired. The workflow was the only artifact out of step:on:held onlyworkflow_dispatch, its enforcement step is gated ongithub.event_name == 'pull_request'and unreachable, and no run has fired since 2026-11-04T14:09Z.Change
Restore the pre-sweep trigger block verbatim (as of 5a94833^) in
.github/workflows/mcpx-fix-test-guard.yml:pushto main andpull_request, both path-filtered topkgs/mcpx/**plus the guard script, its contract tests, and the workflow itself;workflow_dispatchkept. No change to the guard script's match logic, the workflow header, or ci-policy.md — after this change the workflow, its header comment, and ci-policy.md agree.Verification
bash .github/scripts/check-mcpx-fix-test.test.shin the worktree: all 11 contract tests pass, including "fix title, no test fails" and theNo test: <reason>attestation paths.gh run list --workflow mcpx-fix-test-guard.ymlwith the contract-test step; a throwaway mcpx fix PR with no test file and noNo test:line must be failed by the check, then closed.Queue task 11319 (repo-health-code-pilot), lane code-l.
Open in [code]smith · Need help on this PR? Tag
@codesmith-botwith what you need.